﻿using System;
using System.Collections.Generic;

namespace ARchGL.Platform.IO
{
    #region 实体对象定义

    /// <summary>
    /// 读取目录结构成员
    /// </summary>
    [Serializable]
    public class FileExtInfo
    {
        public EnumFileType type { get; set; }

        //public dynamic file { get; set; }

        public string filename { get; set; }

        public int level { get; set; }

        public Guid id { get; set; }

        public Guid parentid { get; set; }

        public IList<FileExtInfo> children { get; set; }
    }
    #endregion

    #region 枚举

    public enum EnumFileType
    {
        /// <summary>
        /// 目录文件夹
        /// </summary>
        dir,

        /// <summary>
        /// 文件
        /// </summary>
        file
    }

    #endregion
}
